package com.alcohol.auth.server.service;

import com.alcohol.auth.server.entity.SysOAuthClient;
import org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository;

import java.util.Map;

/**
 * 客户端认证信息Service
 * @author LiXinYu
 * @date 2025/11/7
 */
public interface SysOAuthClientService extends RegisteredClientRepository {

    /**
     * 获取客户端附加信息
     * @param clientId 客户端ID
     * @return 附加信息
     */
    Map<String, Object> getClientAdditionalParameters(String clientId);

    /**
     * 获取客户端认证信息
     * @param clientId 客户端ID
     * @return 客户端认证信息
     */
    SysOAuthClient getSysOAuthClient(String clientId);
}
